<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="Admin/webroot/css/style.css"/>
<title>首页</title>
</head>
<script type="text/javascript" src="Admin/webroot/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="Admin/webroot/js/global.js">
</script>
<script type="text/javascript" src="Admin/webroot/js/editor/kindeditor.js"></script>
<script type="text/javascript" src="Admin/webroot/js/kindeditor_upload.js"></script>
<script>
$(function(){
	
	$('#created').datepicker({
          dateFormat:'yy-mm-dd'//日期格式
          });
	})

</script>
<body>
<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
	DD_belatedPNG.fix('.pngfix');
</script>
<![endif]--> 
<div class="rightbox">
    <div class="rightbox-col" id="right">
      <div class="main">
        {include file='../Common/main_title.html'}
        <div class="bd">
          <div class="height_20"></div>
          <div class="main_content">
            <form method="post" action="index.php?g=admin&m=sys&a=saveSetting">
               <div class="left-table"><span>标题:</span></div>
               <div class="right-table"> <input type="text" name="domain" value="{$setting['domain']}" />
              </div>
                <div class="height_10"></div>
              <div class="left-table"><span>提交间隔:</span></div>
               <div class="right-table">  <input type="text" name="site_name" value="{$setting['site_name']}" />
              </div>
                <div class="height_10"></div>
              <div class="left-table"><span>开始时间:</span></div>
                 <div class="right-table"> <input type="text" name="site_keyword" value="{$setting['site_keyword']}" />
              </div>
              <div class="height_10"></div>
              
              <div class="left-table"><span>结束时间:</span></div>
               <div class="right-table"> <input type="text" name="site_abs" value="{$setting['site_abs']}" /></div>
              <div class="height_10"></div>
              
            
              
              <div class="left-table"><span>启用:</span></div>
                <div class="right-table">  <div class=" s-radio-c">
                                            <a data-name='wap_support' data-value="0"  {if $setting.wap_support}{if $setting.wap_support eq 0}class="selectBtn focus"{else}class="selectBtn"{/if}{else}class="selectBtn focus"{/if} href="javascript:;"> 关闭</a>
                                            <a data-name='wap_support' data-value="1"   {if $setting.wap_support eq 1}class="selectBtn focus"{else} class="selectBtn"{/if}  href="javascript:;">开启</a>
                                            <input type="hidden" name="wap_support"  value="{if $setting.wap_support}{$setting.wap_support}{else}0{/if}"/>
                                            
                                        </div></div>
              <div class="height_10"></div>
             <div class="left-table"><span>字段:</span></div>
              <div class="right-table">  <a onclick='_href("/index.php?g=admin&m=forms&a=add_fields")' class='add_btn'>+</a></div>
              <div class="height_10"></div>
           
              
              
              <p><span></span><input style="margin-left:100px" class="submit_btn" type="submit" value="保存" /></p>
            </form>
          </div>
        </div>
      </div>
    </div>
    <div class="clear"></div>
    <script>hungry_uploadimg('index.php?g=admin&m=sys&a=file');	</script>
  </div>
</body>
</html>
